//
//  EFGoodsDetailViewCellGuessTitle.m
//  EnjogFood
//
//  Created by guocheng on 2017/5/28.
//  Copyright © 2017年 wf. All rights reserved.
//

#import "EFGoodsDetailViewCellGuessTitle.h"

@interface EFGoodsDetailViewCellGuessTitle()

@property(strong,nonatomic)UILabel* titleLabel;

@end

@implementation EFGoodsDetailViewCellGuessTitle


-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.contentView.backgroundColor = [UIColor clearColor];
        self.backgroundColor = [UIColor whiteColor];
        [self initView];
    }
    return self;
}

-(void)initView{
    [self.contentView setBackgroundColor:RGBCOLOR(0xF6FAFA)];
    [self.contentView addSubview:self.titleLabel];
}

-(UILabel *)titleLabel{
    if(_titleLabel == NULL){
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 200, 15)];
        _titleLabel.font = [UIFont systemFontOfSize:13];
        _titleLabel.textColor  = RGBCOLOR(0xC0B565);
        _titleLabel.top = 10;
        _titleLabel.left = 20;
        [_titleLabel setText:@"猜你喜欢"];
    }
    return _titleLabel;
}



@end
